package com.itheima.dao;

import java.sql.SQLException;

import com.itheima.domain.User;

public interface UserDao {

	void save(User user) throws Exception;

	User getBycode(String code)throws Exception;

	void update(User user)throws Exception;

	User getByUsernameAndPwd(String username, String password) throws Exception;

}
